home *** CD-ROM | disk | FTP | other *** search
- on posizione2
- global NumTasto, LastNumTasto, MatTasti, LastEvidente
- set NumTasto to the mouseMember
- if NumTasto < 0 then
- set tasto to getAt(MatTasti, LastEvidente)
- disevidenzia(tasto)
- exit
- end if
- set NumTasto to the name of the member of NumTasto
- set NumTasto to the value of char 2 to 3 of NumTasto
- if the stillDown = 1 then
- exit
- end if
- if (NumTasto = 0) and (LastEvidente = 0) then
- exit
- end if
- if (LastEvidente <> 0) and (LastEvidente <> NumTasto) then
- set tasto to getAt(MatTasti, LastEvidente)
- disevidenzia1(tasto)
- end if
- if NumTasto <> 0 then
- set tasto to getAt(MatTasti, NumTasto)
- evidenzia(tasto)
- end if
- end
-